package com.diliuzun.delivery.controller;

import com.diliuzun.delivery.service.UserAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController
public class UserAnalysisController {
    @Autowired
    private UserAnalysisService userAnalysisService;

    @GetMapping("/user/analysis")
    public HashMap<String, Object> getUserAnalysisData() {
        return userAnalysisService.getUserAnalysisData();
    }
}
